<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>显示方式</title>
    <style>
        div{
            width: 100px;
            height: 100px;
            border: 1px solid red;

            display: inline;/*从块级元素变成了行内元素,宽高失效*/

        }
        span{
            /*从行内元素变成了块内元素,可以修高宽高*/
            display: inline-block;
            /*display: inline-bock;   */

            border: 1px solid blue;
            width: 100px;
            height: 100px
        }
        img{
            /*行内块元素 共占一行并且可以修改宽高*/
            width: 100px;
            height: 100px;

        }


    </style>

</head>
<body>
<div>div1</div>
<div>div2</div>
<div>div3</div>
<span>span1</span>
<span>span2</span>
<span>span3</span>
<img src="../day01/mm1.jpg" alt="">
<img src="../day01/mm1.jpg" alt="">
<img src="../day01/mm1.jpg" alt="">



</body>
</html>